package com.sas.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sas.dao.TCuohfkdDao;
import com.sas.entity.Page;
import com.sas.entity.TCuohfkd;
import com.sas.service.TCuohfkdService;

import java.util.List;
import java.util.Map;




@Service("tCuohfkdService")
public class TCuohfkdServiceImpl implements TCuohfkdService {
	@Autowired
	private TCuohfkdDao tCuohfkdDao;
	
	//集合查询
    @Override
	public List<TCuohfkd> listselect() {
		// TODO Auto-generated method stub
		return tCuohfkdDao.listselect();
	}
    //增加
	@Override
	public int insert(TCuohfkd s) {
		// TODO Auto-generated method stub
		return tCuohfkdDao.insert(s);
	}
    //删除
	@Override
	public int delete(TCuohfkd s) {
		// TODO Auto-generated method stub
		return tCuohfkdDao.delete(s);
	}
    //修改
	@Override
	public int update(TCuohfkd s) {
		// TODO Auto-generated method stub
		return tCuohfkdDao.update(s);
	}
    //分页查询
	@Override
	public List<TCuohfkd> listFenYe(TCuohfkd s, Page page) {
		// TODO Auto-generated method stub
		return tCuohfkdDao.listFenYe(s,page);
	}
    //统计条数
	@Override
	public int selectCount() {
		// TODO Auto-generated method stub
		return tCuohfkdDao.selectCount();
	}
}
